Optimal. Leaf size=97 \[ \frac {x^2 \sqrt [3]{a+b x^3}}{3 b}+\frac {2 a \tan ^{-1}\left (\frac {1+\frac {2 \sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}}{\sqrt {3}}\right )}{3 \sqrt {3} b^{5/3}}+\frac {a \log \left (\sqrt [3]{b} x-\sqrt [3]{a+b x^3}\right )}{3 b^{5/3}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 97, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {327, 337}
\begin {gather*} \frac {2 a \text {ArcTan}\left (\frac {\frac {2 \sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}+1}{\sqrt {3}}\right )}{3 \sqrt {3} b^{5/3}}+\frac {a \log \left (\sqrt [3]{b} x-\sqrt [3]{a+b x^3}\right )}{3 b^{5/3}}+\frac {x^2 \sqrt [3]{a+b x^3}}{3 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 327
Rule 337
Rubi steps
\begin {align*} \int \frac {x^4}{\left (a+b x^3\right )^{2/3}} \, dx &=\frac {x^2 \sqrt [3]{a+b x^3}}{3 b}-\frac {(2 a) \int \frac {x}{\left (a+b x^3\right )^{2/3}} \, dx}{3 b}\\ &=\frac {x^2 \sqrt [3]{a+b x^3}}{3 b}-\frac {(2 a) \text {Subst}\left (\int \frac {x}{1-b x^3} \, dx,x,\frac {x}{\sqrt [3]{a+b x^3}}\right )}{3 b}\\ &=\frac {x^2 \sqrt [3]{a+b x^3}}{3 b}-\frac {(2 a) \text {Subst}\left (\int \frac {1}{1-\sqrt [3]{b} x} \, dx,x,\frac {x}{\sqrt [3]{a+b x^3}}\right )}{9 b^{4/3}}+\frac {(2 a) \text {Subst}\left (\int \frac {1-\sqrt [3]{b} x}{1+\sqrt [3]{b} x+b^{2/3} x^2} \, dx,x,\frac {x}{\sqrt [3]{a+b x^3}}\right )}{9 b^{4/3}}\\ &=\frac {x^2 \sqrt [3]{a+b x^3}}{3 b}+\frac {2 a \log \left (1-\frac {\sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}\right )}{9 b^{5/3}}-\frac {a \text {Subst}\left (\int \frac {\sqrt [3]{b}+2 b^{2/3} x}{1+\sqrt [3]{b} x+b^{2/3} x^2} \, dx,x,\frac {x}{\sqrt [3]{a+b x^3}}\right )}{9 b^{5/3}}+\frac {a \text {Subst}\left (\int \frac {1}{1+\sqrt [3]{b} x+b^{2/3} x^2} \, dx,x,\frac {x}{\sqrt [3]{a+b x^3}}\right )}{3 b^{4/3}}\\ &=\frac {x^2 \sqrt [3]{a+b x^3}}{3 b}+\frac {2 a \log \left (1-\frac {\sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}\right )}{9 b^{5/3}}-\frac {a \log \left (1+\frac {b^{2/3} x^2}{\left (a+b x^3\right )^{2/3}}+\frac {\sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}\right )}{9 b^{5/3}}-\frac {(2 a) \text {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1+\frac {2 \sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}\right )}{3 b^{5/3}}\\ &=\frac {x^2 \sqrt [3]{a+b x^3}}{3 b}+\frac {2 a \tan ^{-1}\left (\frac {1+\frac {2 \sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}}{\sqrt {3}}\right )}{3 \sqrt {3} b^{5/3}}+\frac {2 a \log \left (1-\frac {\sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}\right )}{9 b^{5/3}}-\frac {a \log \left (1+\frac {b^{2/3} x^2}{\left (a+b x^3\right )^{2/3}}+\frac {\sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}\right )}{9 b^{5/3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.26, size = 142, normalized size = 1.46 \begin {gather*} \frac {3 b^{2/3} x^2 \sqrt [3]{a+b x^3}+2 \sqrt {3} a \tan ^{-1}\left (\frac {\sqrt {3} \sqrt [3]{b} x}{\sqrt [3]{b} x+2 \sqrt [3]{a+b x^3}}\right )+2 a \log \left (-\sqrt [3]{b} x+\sqrt [3]{a+b x^3}\right )-a \log \left (b^{2/3} x^2+\sqrt [3]{b} x \sqrt [3]{a+b x^3}+\left (a+b x^3\right )^{2/3}\right )}{9 b^{5/3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.01, size = 0, normalized size = 0.00 \[\int \frac {x^{4}}{\left (b \,x^{3}+a \right )^{\frac {2}{3}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.49, size = 137, normalized size = 1.41 \begin {gather*} -\frac {2 \, \sqrt {3} a \arctan \left (\frac {\sqrt {3} {\left (b^{\frac {1}{3}} + \frac {2 \, {\left (b x^{3} + a\right )}^{\frac {1}{3}}}{x}\right )}}{3 \, b^{\frac {1}{3}}}\right )}{9 \, b^{\frac {5}{3}}} - \frac {a \log \left (b^{\frac {2}{3}} + \frac {{\left (b x^{3} + a\right )}^{\frac {1}{3}} b^{\frac {1}{3}}}{x} + \frac {{\left (b x^{3} + a\right )}^{\frac {2}{3}}}{x^{2}}\right )}{9 \, b^{\frac {5}{3}}} + \frac {2 \, a \log \left (-b^{\frac {1}{3}} + \frac {{\left (b x^{3} + a\right )}^{\frac {1}{3}}}{x}\right )}{9 \, b^{\frac {5}{3}}} - \frac {{\left (b x^{3} + a\right )}^{\frac {1}{3}} a}{3 \, {\left (b^{2} - \frac {{\left (b x^{3} + a\right )} b}{x^{3}}\right )} x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 165 vs.
\(2 (74) = 148\).
time = 0.38, size = 165, normalized size = 1.70 \begin {gather*} \frac {3 \, {\left (b x^{3} + a\right )}^{\frac {1}{3}} b^{2} x^{2} - 2 \, \sqrt {3} a {\left (b^{2}\right )}^{\frac {1}{6}} b \arctan \left (\frac {{\left (\sqrt {3} {\left (b^{2}\right )}^{\frac {1}{3}} b x + 2 \, \sqrt {3} {\left (b x^{3} + a\right )}^{\frac {1}{3}} {\left (b^{2}\right )}^{\frac {2}{3}}\right )} {\left (b^{2}\right )}^{\frac {1}{6}}}{3 \, b^{2} x}\right ) + 2 \, a {\left (b^{2}\right )}^{\frac {2}{3}} \log \left (-\frac {{\left (b^{2}\right )}^{\frac {2}{3}} x - {\left (b x^{3} + a\right )}^{\frac {1}{3}} b}{x}\right ) - a {\left (b^{2}\right )}^{\frac {2}{3}} \log \left (\frac {{\left (b^{2}\right )}^{\frac {1}{3}} b x^{2} + {\left (b x^{3} + a\right )}^{\frac {1}{3}} {\left (b^{2}\right )}^{\frac {2}{3}} x + {\left (b x^{3} + a\right )}^{\frac {2}{3}} b}{x^{2}}\right )}{9 \, b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 0.62, size = 37, normalized size = 0.38 \begin {gather*} \frac {x^{5} \Gamma \left (\frac {5}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {2}{3}, \frac {5}{3} \\ \frac {8}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 a^{\frac {2}{3}} \Gamma \left (\frac {8}{3}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^4}{{\left (b\,x^3+a\right )}^{2/3}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________